.import fan.qt.complex 1.0 as Lex
function getInfo()
{
    http.get("/member.json?t=q", {id: nav.uid}, okInfo)
}


function okInfo(json)
{
    if (json.error) {
        dialog.message(json.error.description)
        return
    }
    image.source = "http://" + Lex.G.SERVER + json.image
    labelName.text = json.name
    labelMobile.text = json.mobile
    txtNick.text = json.name
    txtMobile.text = json.mobile
    txtMail.text = json.mail
    txtId.text = json.identity
    txtAddress.text = json.address
}
